Domain and Range of a function

The domain and range of a function is the set of inputs (domain) and the corresponding outputs (range) that is accepted by the function and the resulting equation still exists.

For example:

In the above function the domain is all real numbers except 0 (as you cannot divide by zero), and the range is the same (as there is no way to reach zero, rather you can only get infinitely close by making x infinitely large).